package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.system.SysMenu;
import com.atguigu.spzx.model.vo.system.MenuVo;

import java.util.List;
import java.util.Map;

public interface SysMenuService {
    List<SysMenu> listMenus();

    void deleteById(Long id);

    SysMenu getById(Long id);

    void updateById(SysMenu sysMenu);

    void save(SysMenu sysMenu);

    Map<String, Object> listRoleMenus(Long roleId);

    List<MenuVo> listMenusByLoginUserId();

}
